<%@ page language="java" contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1"%>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Enter your Skills</title>
</head>
<body>

<form:form method="POST" commandName="employeeHasSkill">
<table border=1>
<tbody>
				<tr>
					<td>Employee Name :</td>
					<td>${employee.name}</td>
					<form:input path="employee.idEmployee" value="${employee.idEmployee}" type="hidden"/>
				
				</tr>
				<tr>

					<td>SKill Name:</td>
					<td>
						<form:select path="skill.idSkill">
							 <form:options items="${skills}" itemValue="idSkill" itemLabel="name" />
						</form:select>
					</td>
				</tr>
				<tr>
					<td>Experience Level :</td>
					<td><form:select path="level">
							<form:option value='None' label='None' />
							<form:option value='Beginner' label='Beginner' />
							<form:option value='Intermediate' label='Intermediate' />
							<form:option value='Expert' label='Expert' />
						</form:select></td>
				</tr>

			</tbody>
</table>
		<input type="submit" value="Add" />
</form:form>
</body>
</html>